
import request from '@/utils/request';

// 查询列表
export async function queryBnsSystem(params) {
  return request('/b/application/queryPageList', {
    method: 'POST',
    data: params,
  });
}
// 新增
export async function addBnsSystem(params) {
  return request('/b/application/add', {
    method: 'POST',
    data: params,
  });
}

// 修改
export async function updateBnsSystem(params) {
  return request('/b/application/update', {
    method: 'POST',
    data: params,
  });
}


// 删除
export async function removeBnsSystem(params) {
  return request('/b/application/delete', {
    method: 'POST',
    data: params,
  });
}

// 更新密钥
export async function updateKey(params) {
  return request('/b/application/updateKey', {
    method: 'POST',
    data: params,
  });
}